<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <title> {lang events} </title>
    {template _meta.html}
  </head>
  
  <body>  
    
    {template _header.html}

    <div class="container">
      {template _search.html}
      <div class="left">
        {template _recentraid.html}
      </div>
      <div class="right">
        <div class="tabtitle">
          <div class="floatl">{lang event_title}</div>
        </div>
        <table class="table">
          <thead>
            <tr>              
              <th style="width:80px;">{lang event_posttime}</th>
              <th style="width:auto;">{lang event_name}</th>
              <th style="width:80px;">{lang event_dkp}</th>
              <th style="width:100px;">{lang event_instance}</th>              
              <th style="width:90px;">{lang event_start}</th>
              <th style="width:90px;">{lang event_end}</th>
              <th style="width:60px;">{lang event_note}</th>
            </tr>       
          </thead>
          <tbody>
            <!--{loop $events $i $v}-->
            <tr class="tr{echo $i%2}">
              <td>{echo date("Y-m-d",$v['posttime'])}</td>
              <td><a href="{echo U('|event_details|id='.$v['event_id'])}">{$v['event_name']}</a></td>
              <td>{$v['type_name']}</td>
              <td>{$v['instance_name']}</td>              
              <td>{echo date("m-d H:i:s",$v['event_start'])}</td>
              <td>{echo date("m-d H:i:s",$v['event_end'])}</td>                
              <td>{$v['event_note']}</td>
            </tr>
            <!--{/loop}-->
          </tbody>
        </table>
      </div>
    </div>
    
    {template _footer.html}

    <script>
      
    </script>
    
  </body>
</html>